home *** CD-ROM | disk | FTP | other *** search
- global preloadlist, select, fpslist, curscript
-
- on mouseUp me
- if select > 0 then
- curscript = "loadclip"
- fileName = baGetFilename("load", "c:", "untitled.clp", "Flowmotion Clips|*.clp", 0, "Open new clip", 0, 400, 300)
- if fileName <> EMPTY then
- fileLink = new(xtra("vList"), fileName)
- pre = read(fileLink)
- if listp(pre) then
- if pre[pre.count - 1].ilk = #image then
- member(select, "thumbnails").image = pre[pre.count - 1]
- end if
- if pre[pre.count].ilk = #float then
- fpslist[select] = pre[pre.count]
- end if
- pre.deleteAt(pre.count)
- pre.deleteAt(pre.count)
- pre.deleteAt(pre.count)
- end if
- preloadlist[select] = pre
- end if
- end if
- end
-